package jp.co.itfrontier.mashup.event
{
	import flash.events.Event;
	import flash.utils.Dictionary;

	public class Event extends flash.events.Event implements IEvent {
		
		private var data:Dictionary;
		
		public static const MODEL:String = "__model";
		
		public function Event(type:String, bubbles:Boolean=false, cancelable:Boolean=false) {
			super(type, bubbles, cancelable);
			
			data = new Dictionary(true);
			
		}
		
		public function getData(key:String):* {
			return data[key];		
		}
		
		public function setData(key:String, value:*):void {
			data[key] = value;
		}
				
	}
}